package com.itheima.dao;

import com.github.pagehelper.Page;

import com.itheima.pojo.Member;
import com.itheima.pojo.OrderSettingList;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface OrderSettingListDao {

    void add(Member member);

    void setMemberAndSetmealId(Map map);

    Page<OrderSettingList> findByCondition(String queryString);

    OrderSettingList findById(Integer id);

    void update(@Param("id") String id, @Param("orderDate") String orderDate, @Param("setmaelId") String setmaelId);

    void delete(@Param("id") String id, @Param("orderDate") String orderDate, @Param("setmaelId") String setmaelId);

    String getorderStatus(@Param("id") String id, @Param("orderDate") String orderDate, @Param("setmaelId") String setmaelId);

    Member findByphone(String phoneNumber);
}
